
<html>
<head><title>Simple jsp page</title></head>
<body>


<script src='/spymenow_web/dwr/engine.js'></script>
<script src='/spymenow_web/dwr/util.js'></script>
<script src='/spymenow_web/dwr/interface/DeviceImpl.js'></script>
<script src='/spymenow_web/dwr/interface/AccountUserImpl.js'></script>
<script src='/spymenow_web/js/schema.js'></script>
<link rel="stylesheet" type="text/css" href="/spymenow_web/css/admin.css">

<table>
	<tr><td>
  <table>
  	<tr><td class="label">Imei:</td><td><input type="text" id="imei_device" class="edit" value=""/></td></tr>
  	<tr><td class="label">Modelo:</td><td><input type="text" id="model_device" class="edit" value=""/></td></tr>
  	<tr><td class="label">Login:</td><td><input type="text" id="login_device" class="edit" onchange="if(this.value != '')$accountUser.get(this.value,'byId',function(account){dwr.util.setValue('userId_device',account.id); })"/><input type="hidden" id="userId_device" class="edit" value=""/></td></tr>
  	<tr><td class="label">Date:</td><td><input type="text" id="datetime_device" class="edit" value=""/></td></tr>
  	<tr><td>&nbsp;</td></tr>
  </table>
  </td><td>
  <table>
  	<tr><td class="label">Visivel:</td><td><input type="text" id="visible_device" class="edit" value=""/></td></tr>
  	<tr><td class="label">OBS:</td><td><textarea id="note_device" class="edit2" style="height:60px; width:150px"></textarea></td></tr>
  	<tr><td>&nbsp;</td></tr>
  </table>
  </td></tr>

  <table>
  	<tr style="cursor:pointer">
	  <td width="50px"></td>
      <td width="50px"><img src="/spymenow_web/img/new.png" width="40" height="40" type="button" onClick="$device.clear()"/></td>
      <td width="50px"><img src="/spymenow_web/img/save.png" width="40" height="40" type="button" onClick="$device.save()"/></td>
      <td width="50px"><img src="/spymenow_web/img/list.png" width="40" height="40" type="button" onClick="$device.list()"/></td>
      <td width="50px"><img src="/spymenow_web/img/get.png" width="36" height="36"  type="button" onClick="$device.get()"/></td>
      <td width="50px"><img src="/spymenow_web/img/delete.png" width="40" height="40" type="button" onClick="$device.rm()"/></td>
  </table>

  </table>

		<div id="rsTableDevice" style="top:200px; width:400px"></div>

		<div id="rsTableDataDevice" style="top:230px; height:100px; width:400px; overflow:auto"></div>

<div>
</body>

<script>
	
</script>

</html>

 
